package com.example.demo1.mapper;

import com.example.demo1.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    User findById(int id);

    User login(String userName, String passWord);

    int register(User user);
}
